<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" 
                                                  prefix="fn" %>
<style>
.formTable{text-align:left;}

</style>
<h1>G商融通回款</h1>
<script type="text/javascript" src="${ctx}/pages/templete/js/validate/gsrt/returnedMoney.js"></script>
<form id="form" action="${ctx}/gsrt/doReturnedMoney.do" method="POST" target="_blank" >
	<table width="100%" class="formTable">
		<tr>
			<td width="35%" align=right>版本号:</td>
			<td>
				<select id="version" name="version">
					<option value="2.1" selected >${config.version}</option>
				</select>
			</td>
		</tr>
		<tr><td align=right>报文加密方式:  </td><td><input type="text"  id="signType" name="signType" value="${config.signType}" size="50"/></td></tr>
		<tr><td align=right></td><td align=center>1:MD5,2:SHA (不填则当成1处理)</td></tr>
		<tr><td align=right>字符集:  </td><td><input type="text"  id="charset" name="charset" value="${config.charset}" size="50"/></td></tr>
		<tr><td align=right></td><td align=center>1:GBK,2:UTF-8 (不填则当成1处理)</td></tr>
		<tr>
			<td align=right>交易代码:</td>
			<td>
				<input type="text" id="tranCode" name="tranCode" value="${config.tranCode }" size="50"/>
			</td>
			<!-- <td width="25%" align=left>
				<font color=red>*</font>
				<span id="tranCodeTip"></span>
			</td> -->
		</tr>
		<tr>
			<td align=right>平台商户ID:</td>
			<td>
				<input type="text" id="merId" name="merId" value="${config.merId }" size="50"/>
			</td>
			<!-- <td align=left>
				<font color=red>*</font>
				<span id="customerIdTip"></span>
			</td> -->
		</tr>
		
		<tr>
			<td align=right>订单号:</td>
			<td>
				<input type="text" id="merOrderNum" name="merOrderNum" value="${config.merOrderNum }" size="50" autoComplete="off"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="merOrderNumTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>交易时间:</td>
			<td><input type="text" id="tranDateTime" name="tranDateTime" value="${config.tranDateTime }" size="50" /></td>
			<td align=left>
				<font color=red>*</font>
				<span id="tranDateTimeTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>国付宝服务器时间:</td>
			<td><input type="text" id="gopayServerTime" name="gopayServerTime" value="${config.gopayServerTime }" size="50" /></td>
		</tr>
		<tr>
			<td align=right>标的号:</td>
			<td><input type="text" id="bidNo" name="bidNo" value="${config.bidNo }" size="50" /></td>
			<td align=left>
				<font color=red>*</font>
				<span id="bidNoTip"></span>
			</td>
		</tr>
		<tr>
			<td align=right>回款信息:</td>
			<td><input type="text" id="returnedMsg" name="returnedMsg" value="${config.returnedMsg }" size="50" /></td>
			<td align=left>
				<font color=red>*</font>
				<span id="returnedMsgTip"></span>
			</td>
		</tr>
		<tr>
            <td align=right></td>
            <td align=center>商户订单号,投资方收款金额,备注,投资方协议号;商户订单号,投资方收款金额,备注,投资方协议号</td>
        </tr>
		<tr>
			<td align=right>分账:</td>
			<td>
				<input type="text" id="routing" name="routing" value="${config.routing }" size="50"/>
			</td>
		</tr>
		<tr>
			<td align=right></td>
			<td align=center>商户订单号,平台账户收款金额,备注,账户类型;商户订单号,平台风险金账户收款金额,备注,账户类型;商户订单号,担保方收款金额,备注,账户类型,担保方协议号</td>
		</tr>
		<tr>
            <td align=right></td>
            <td align=center>账户类型(01:平台账户,02:风险金账户,03:担保方账户)</td>
        </tr>
		<tr>
			<td align=right>备注:</td>
			<td><input type="text" id="remark" name="remark" value="${config.remark }" size="50" /></td>
		</tr>
		<tr>
			<td align=right>用户浏览器IP:</td>
			<td>
				<input type="text" id="tranIP" name="tranIP" value="${config.tranIP }" size="50"/>
			</td>
			<td width="25%" align=left>
				<font color=red>*</font>
				<span id="recvBankAcctNameTip"></span>
			</td>
		</tr>
		
		<tr>
          <td align=right>商户识别码:  </td>
          <td><input type="text" id="verficationCode" name="verficationCode" value="${config.verficationCode }" size="50"/>
          </td>
        </tr> 
        
		<tr>
			<td colspan=3 width="100%">
				<center>
					<input type="button" value="设置订单" id="defButton" name="defButton"/>&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="submit" name="submit" id="submit" value="开始测试" />
				</center>
			</td>
		</tr>
	</table>
</form>